package com.platform.qujia.utils.yunHua;

public class YunHuaSendUser {

    String systemId;
    String platformId;
    String sign;
    String user;
    String mobilePhone;

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public  String toBeforeRequest(){
        String mm= "{\n" +
                "    \"systemId\": \""+getSystemId()+"\",\n" +
                "    \"platformId\": \""+getPlatformId()+"\",\n" +
                "    \"user\": {\n" +
                "        \"mobilePhone\": \""+getMobilePhone()+"\",\n" +
                "        \"username\":\""+getMobilePhone()+"\",\n" +
                "        \"status\":1\n" +
                "    }" +
                "}";

        return  mm;
    }

    public  String toRequest(){
        String mm= "{\n" +
                "    \"systemId\": \""+getSystemId()+"\",\n" +
                "    \"platformId\": \""+getPlatformId()+"\",\n" +
                "    \"user\": {\n" +
                "        \"mobilePhone\": \""+getMobilePhone()+"\",\n" +
                "        \"username\":\""+getMobilePhone()+"\",\n" +
                "        \"status\":1\n" +
                "    },\n" +
                "    \"sign\": \""+getSign()+"\"\n" +
                "}";

        return  mm;
    }

}
